squares = []
for value in range(1,11):
    square = value ** 2
    squares.append(square)#append表示将新计算得到的每个值追加到列表末尾

print(squares)

for value in range(1,11):
    squares.append(value**2)
print(squares)